package com.itheima.reggie.common;

public class BaseContext {
    private static final ThreadLocal<Object> LOCAL = new ThreadLocal();


    private BaseContext() {}

    public static Object getCurrentData(){
        return LOCAL.get();
    }

    public static void setCurrentData(Object data){
        LOCAL.set(data);
    }

}
